# lock_number = 8
#
# my_name = "yinsc"
#
# print("lock_number的数据类型是:", type(lock_number))
# print("my_name的数据类型是:", type(my_name))
#
# # python动态修改变量的数据类型，通过赋不同类型的值就可以直接修改
# lock_number = "北京欢迎你"
# print("lock_number的数据类型是:", type(lock_number))
#
# # 多个变量允许指向同一个值
# no = number = 1024
#
# print(no, number)
# # id打印内存地址，下面的变量地址相同
# print(id(no))
# print(id(number))

# 数据类型转换
# x = 10
# y = 3
# z = x / y
# print(z,type(z))
#
# #float 转成int类型
# print(int(3.14))
# print(int(-3.14))

# int转成flow类型
# print(float(3))

# 字符串转int
# print(int('3') + int('5'))

# int转字符串
# print('你好' , 1)